package com.heboan.code3;

/*
    用户消费信息类
*/
public class Consumption {
    // 统计通话时长、统计上网流量、每月消费金额
    private int duration;
    private int traffic;
    private double money;

    public Consumption() {
    }

    public Consumption(int duration, int traffic, double money) {
        this.duration = duration;
        this.traffic = traffic;
        this.money = money;
    }

    public int getDuration() {
        return duration;
    }

    public int getTraffic() {
        return traffic;
    }

    public double getMoney() {
        return money;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public void setTraffic(int traffic) {
        this.traffic = traffic;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}

